﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Morus.Presentation
{
    public static class ValueProviderFactories
    {
        private static readonly ValueProviderFactoryCollection _factories = new ValueProviderFactoryCollection
        {
            new FormValueProviderFactory(),
            new NamingControlValueProviderFactory(),
            new JsonValueProviderFactory(),
            //new RouteDataValueProviderFactory(),
            new QueryStringValueProviderFactory(),
            new CookieValueProviderFactory(),
            new HttpFileCollectionValueProviderFactory()
        };

        public static ValueProviderFactoryCollection Factories
        {
            get
            {
                return ValueProviderFactories._factories;
            }
        }
    }
}
